<?php
/*
 * File  : hansip.php
 * Table : null
 */
error_reporting(1);
session_start();
//cek session

if ((!$_SESSION["USRID"] AND !$_SESSION["USRPASS"])) {
    header("location: index.php");
    exit();
}
//end
?>

<?php
// panggil fungsi koneksi
require "../library/fungsi.lib.php";
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <link href="<?php echo URLHOST; ?>asset/img/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <title><?php echo title; ?></title>
        <link rel="stylesheet" type="text/css" href="<?php echo URLHOST; ?>asset/css/style-admin.css" />

    </head>
    <body>
        <div id="wrap">
            <!-- untuk header !-->
            <div id="header"></div>
            <div id="menu">
                <?php include "menu.php"; ?>
            </div>

            <div id="content">
                <?php include "content.php"; ?>
            </div>

            <!-- untuk footer !-->
            <div id="footer">
                <?php echo FOOTER; ?>                
            </div>
        </div>
    </div>
</body>
</html>

